<template>
    <div class="wx-open-app" v-if="isShowCom">
        <div class="left">
            <img src="https://saas-sj.oss-cn-shenzhen.aliyuncs.com/assets/virtualGoods.png?x-oss-process=image/resize,m_fixed,h_90,w_90"
                alt="">
            <div class="sys-info">
                <p>蜻蜓点金</p>
                <p>找好投顾，到中信建投！</p>
            </div>
        </div>
        <div class="right">
            <img src="https://saas-sj.oss-cn-shenzhen.aliyuncs.com/assets/virtualGoods.png?x-oss-process=image/resize,m_fixed,h_90,w_90"
                alt="">
        </div>
    </div>
</template>

<script>
export default {
    data() {
        return {

        }
    },
    methods: {

    },
    computed:{
        isShowCom(){
            return  this.$channel == 'zxjt' && window.terminal.weixin
        }
    }
}
</script>

<style lang="less"  scoped>
.wx-open-app {
    width: 100%;
    height: 114px;
    background: white;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .left {
        display: flex;
        justify-content: center;
        align-items: center;

        img {
            width: 79px;
            height: 79px;
        }

        .sys-info {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            margin-left: 15px;

            p:first-child {
                font-size: 32px;
                font-weight: 500;
                color: #0D121D;
                line-height: 45px;
            }

            p:last-child {
                font-size: 23px;
                font-weight: 400;
                color: #5E6678;
                line-height: 32px;
            }
        }
    }

    .right {
        img {
            width: 200px;
            height: 60px;
        }
    }
}</style>